package com.lh0811.forge.dependency.security.core.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 开发平台-平台用户表
 *
 * @author
 * @email
 * @date 2024-06-09 10:32:18
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class WechatUserInfo implements Serializable {

    @Schema(description = "主键")
    private Long id;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "微信公众平台openId")
    private String openId;
    @Schema(description = "微信公众号unionid")
    private String unionId;
    @Schema(description = "用户session_ke")
    private String sessionKey;
    @Schema(description = "昵称")
    private String nickName;
    @Schema(description = "性别")
    private String gender;
    @Schema(description = "语言")
    private String language;
    @Schema(description = "城市")
    private String city;
    @Schema(description = "省份")
    private String province;
    @Schema(description = "国家")
    private String country;
    @Schema(description = "头像")
    private String avatarUrl;
    @Schema(description = "备注")
    private String notes;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "创建人")
    private Long createBy;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "更新人")
    private Long updateBy;
    @Schema(description = "拓展信息")
    private String extInfo;

}
